//
//  PersonalTableViewCell.m
//  OCUI
//
//  Created by login on 15-7-1.
//
//

#import "PersonalTableViewCell.h"

@implementation PersonalTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.rightImage = [[UIImageView alloc]initWithFrame:CGRectMake(10, (CGRectGetHeight(self.frame)-26)/2, 30, 26)];
        [self.contentView addSubview:self.rightImage];
        
        self.contentLabel = [[UILabel alloc]initWithFrame:CGRectMake(CGRectGetMaxX(self.rightImage.frame)+10, 0, 100, CGRectGetHeight(self.frame))];
        self.contentLabel.textColor = [UIColor blackColor];
        self.contentLabel.textAlignment = NSTextAlignmentLeft;
        self.contentLabel.font = [UIFont systemFontOfSize:20];
        [self.contentView addSubview:self.contentLabel];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
